{ ***  cef_geolocation_capi.h  *** }

    PCefGetGeolocationCallback = ^TCefGetGeolocationCallback;

    // Implement this structure to receive geolocation updates. The functions of
    // this structure will be called on the browser process UI thread.
    TCefGetGeolocationCallback = record
        // Base structure.
        base: TCefBase;

        // Called with the 'best available' location information or, if the location
        // update failed, with error information.
        on_location_update: procedure(
            self: PCefGetGeolocationCallback;
            const position: PCefGeoposition); cconv;
    end;

    // Request a one-time geolocation update. This function bypasses any user
    // permission checks so should only be used by code that is allowed to access
    // location information.
    tfn_cef_get_geolocation = function(
        callback: PCefGetGeolocationCallback): Integer; cdecl;

